package com.koron.system.orderAsset.mapper;

import com.koron.system.orderAsset.bean.OrderAsset;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

@Mapper
@Component
public interface OrderAssetMapper {

    void insertBatchOrderAsset(@Param("list") List<OrderAsset> orderAssets);

    int updateOrderAsset(OrderAsset orderAsset);

    OrderAsset selectOrderAssetById(String id);

    int insertOrderAsset(OrderAsset orderAsset);

    int deleteOrderAsset(String id);

    Date selectLastCreateTime();

    List<OrderAsset> selectByOrderAssetQuery(OrderAsset orderAsset);

}
